{% extends "base.html" %}

{% block content %}
<div class="" id="main">
  <div id="sidebar"></div>
  <div id="content">
  <h1>修改报表设置</h1>

  <form action="" method="post">
      {% csrf_token %}
      <div class="form-field">
        <input name="user_id" id="id_user_id" type="hidden" value="{{user_id}}" />
        <label>日报</label><input type="checkbox" id="id_daily" name="daily" value="1" {% if daily > 0 %} checked="true" {% endif %} />
        <label>周报</label><input type="checkbox" id="id_weekly" name="weekly" value="2" {% if weekly > 0 %} checked="true" {% endif %}  />
        <label>月报</label><input type="checkbox" id="id_monthly" name="monthly" value="4" {% if monthly > 0 %} checked="true" {% endif %} />
      </div>
      <input type="submit" value="创建">
  </form>
  </div>
</div>
{% endblock %}